From what i see in my Doors 9.5.1.2
But when I request CreatedOn date it is seen as date format witout hours :minutes and seconds. But when I request vie OSLC 2.0 modified date it behaves like dateTime and have hours, minutes and seconds. The format is still date and I can not understand from where is the problem? In the pure date or something in hte Doors configurations.
The problem here is something in the configuration I think because: <rm_property:attrDef-7 rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime" >2012-07-02</rm_property:attrDef-7> but 2012-07-02 is not DateTime is date, and I am wondering why Doors 9.5.1.2 behaves in that way? Why the date which is returns is not in the right format? In RDNG there is no Date format but Timestamp and there this problem does not appear. So then when I try to parse the date I have exception form the Jena that
because 2015-06-10 is not dateTime but Date. How can I change the format of the attribute to Date time.
When I try to create new attribute I can add
But on the system attributes I do not have rights to change them and to "Includetime of the day" even if I am logged in as Administrator.
PS. But as I understand from here: the time can not be include in the Predefined System Attributes. Dinio - Mon Dec 07 04:22:14 EST 2015 |
Re: Wrong date fromat in Doors - without time. You can cast a Date variable to either include the time or not include the time
dateOnly
dateAndTime
Sean |
Re: Wrong date fromat in Doors - without time. DoorsXLAustralia - Mon Dec 07 05:40:42 EST 2015 You can cast a Date variable to either include the time or not include the time
dateOnly
dateAndTime
Sean But I use OSLC to make the query and recieve this result ,you suggest to write custom DXL which to use? |
Re: Wrong date fromat in Doors - without time. The anatomy of the DOORS database predates OSLC by quite a few years so there will probably be many features of DOORS which can be accessed by DXL but not accessed by OSLC. Sean |